From a1d430b3091bdd486816b907f2bc27b284347f34 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 30 Jan 2008 09:38:10 +0000 Subject: [PATCH] xend: Small fix for hvm/hap flags. Signed-off-by: Yosuke Iwamatsu --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index fc8f073ec8..8cb1531f06 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1658,7 +1658,7 @@ class XendDomainInfo: domid = 0, ssidref = ssidref, handle = uuid.fromString(self.info['uuid']), - flags = int((hvm << 0) | (hap << 1)), + flags = (int(hvm) << 0) | (int(hap) << 1), target = self.info.target()) except Exception, e: # may get here if due to ACM the operation is not permitted -- 2.30.2